<?php
/**
 * This is a static class that gives the sort orders available for ordering person objects.
 * 
 * @see OSPeopleRequest::setSortOrder()
 * @static 
 * @link http://code.google.com/apis/opensocial/docs/0.7/reference/opensocial.DataRequest.SortOrder.html 
 * @package    opensocial
 * @subpackage datarequest
 * @author     Daniel Botelho <botelho.daniel@gmail.com>
 */
class OSDataRequestSortOrder
{ 
  /** Opensocial class */
  const DEFAULT_CLASS = 'opensocial.DataRequest.SortOrder';

  /** When used will sort people alphabetically by the name field. */
  const NAME = 'opensocial.DataRequest.SortOrder.NAME';
  /** When used will sort people by the container's definition of top friends. */
  const TOP_FRIENDS = 'opensocial.DataRequest.SortOrder.TOP_FRIENDS';    

}
